const CONFIG = require('../../../../../../sjgsvn/server/common/config');
const mysql = require('mysql');
const pool = mysql.createPool({
    connectionLimit : 5,
    host            : CONFIG.DB_HOST_MYSQL_YJX,
    user            : CONFIG.DB_USER_MYSQL_YJX,
    password        : CONFIG.DB_PASSWORD_MYSQL_YJX,
    database        : CONFIG.DB_DATABASE_MYSQL_YJX,
    port            : CONFIG.DB_PORT_MYSQL_YJX
});

module.exports = pool;